home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / ProgressMonitor$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  876 b   |  29 lines

  1. package javax.swing;
  2.  
  3. import java.awt.event.WindowAdapter;
  4. import java.awt.event.WindowEvent;
  5.  
  6. final class ProgressMonitor$1 extends WindowAdapter {
  7.    // $FF: synthetic field
  8.    private final ProgressMonitor.ProgressOptionPane this$1;
  9.    boolean gotFocus;
  10.  
  11.    // $FF: synthetic method
  12.    ProgressMonitor$1(ProgressMonitor.ProgressOptionPane var1) {
  13.       this.this$1 = var1;
  14.       this.gotFocus = false;
  15.    }
  16.  
  17.    public void windowActivated(WindowEvent var1) {
  18.       if (!this.gotFocus) {
  19.          this.this$1.selectInitialValue();
  20.          this.gotFocus = true;
  21.       }
  22.  
  23.    }
  24.  
  25.    public void windowClosing(WindowEvent var1) {
  26.       this.this$1.setValue((Object)null);
  27.    }
  28. }
  29.